package org.oslims.client.service;

import java.util.List;

import org.oslims.domain.Department;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface DepartmentServiceAsync {

	public void editDepartment(Department department, AsyncCallback<Void> callback);

	public void deleteDepartment(Department department, AsyncCallback<Void> callback);

	public void getAllDepartments(AsyncCallback<List<Department>> callback);

	void getAllDepartments(int start, int length, String sortBy, boolean desc, AsyncCallback<List<Department>> callback);

	void getDepartmentCount(AsyncCallback<Integer> callback);
}
